﻿using _11_01_Binding.Common;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11_01_Binding.Common
{
	public class ScaleToLengthConverter : BaseValueConverter<ScaleToLengthConverter>
	{
		//原来的长度转换到
		public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
		{
			return (double)value*double.Parse(parameter.ToString());

		}
	}
}
